POV-Ray : Newsgroups : povray.binaries.images : Not a Sphere (91K) : Re: Not a Sphere (91K) Server Time
17 Aug 2024 18:23:11 EDT (-0400)
  Re: Not a Sphere (91K)  
From: Anton Sherwood
Date: 26 Oct 2001 03:43:25
Message: <3BD9127D.2C0DF43A@pobox.com>
> "Arie L. Stavchansky" <nat### [at] hotmailcom> wrote
> > I know it is alot to ask, but can you please explain this code and
> > algorithm in English?  I don't have a very strong math background
> > and would like to understand how it is done.  This is amazing stuff!


Bill DeWitt wrote:
> 
> RTFM
> 
>     The short version is this.
> "#declare Cx" means create a variable
> "#while" means start a conditional loop
> "box" means make a box at the location set up by the math
> "#declare Cx = CX + Step" increments the variable
> "#end" sends it back to the #while until the condition is fulfilled
> 
>     Everything else is gravy.

Arie asked for help with the math, not the programming syntax.


-- 
Anton Sherwood


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.